package com.qys.livesMall.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qys.livesMall.system.model.dto.sys.SysConfigQuery;
import com.qys.livesMall.system.model.entity.H2SysConfig;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author caoz
 * @since 2023-04-20
 */
public interface H2SysConfigMapper extends BaseMapper<H2SysConfig> {

    Page<H2SysConfig> pageList(@Param("page") Page<H2SysConfig> page, @Param("query") SysConfigQuery query);

    int updateByKey(@Param("data") H2SysConfig data);

}
